#!/bin/bash
# 快速配置 HuggingFace 镜像（国内用户必备）

export HF_ENDPOINT=https://hf-mirror.com

echo "✓ 已配置 HuggingFace 镜像: ${HF_ENDPOINT}"
echo ""
echo "请在运行训练前执行："
echo "  source setup_hf_mirror.sh"
echo ""
echo "或者在 ~/.bashrc 中添加："
echo "  export HF_ENDPOINT=https://hf-mirror.com"

